<template>
  <div>
      <h2>{{msg}}</h2>
      <button @click="reverse">逆转世界</button>
  </div>
</template>

<script>
export default {
data(){
    return {
        msg:"Holle is quis is mi"
    }
},
methods: {
    reverse(){
        this.msg=this.msg.split('').reverse().join('')
    }
}

}
</script>

<style>

</style>